package com.neu.pojo;

public class Model {//模板
	private int id;//模板的id
	private String name;//模板的名字
	private String kind;//模板的类型
	
	//构造
	public Model(int id, String name, String kind) {
		super();
		this.id = id;
		this.name = name;
		this.kind = kind;
	}
	public Model(int id) {
		super();
		this.id = id;
	}
	public Model() {
		super();
	}
	//set and get
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getKind() {
		return kind;
	}
	public void setKind(String kind) {
		this.kind = kind;
	}
	@Override
	public String toString() {
		return "{\"id\":\"" + id + "\",\"name\":\"" + name + "\",\"kind\":\"" + kind + "\"}";
	}
}
